import 'package:get/get.dart';

import 'frame_state.dart';

class FrameLogic extends GetxController {
  final FrameState state = FrameState();

  setPageIndex(int index) {
    state.currentIndex.value = index;
    state.pageController.value.jumpToPage(index);
  }
}
